package com.clj.fastble.utils;

import com.clj.fastble.bluetooth.BleBluetooth;

import java.util.LinkedHashMap;

/**
 * BleLruHashMap
 * @param <K> K
 * @param <V> V
 */
public class BleLruHashMap<K, V> extends LinkedHashMap<K, V> {
    private final int MAX_SIZE;

    public BleLruHashMap(int saveSize) {
        super((int) Math.ceil(saveSize / 0.75) + 1, 0.75f, true);
        MAX_SIZE = saveSize;
    }

}
